package com.caj.client;

import com.caj.client.fallback.StockClientFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "stock", fallback = StockClientFallback.class)
public interface StockClient {

    // 这里的内容，如果可以，最好去对应的Controller位置复制
    @GetMapping("/stock/test")
    String test();
}
